home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor1
/
statplot.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
2KB
|
36 lines
(Comp.sys.handhelds)
Item: 508
Resp: 4 of 4 by jn163051 at longs.LANCE.ColoState.Edu
Author: [Joel Nevison]
Date: Fri Jun 22 1990 15:14
In article <AaTttXy00Uh741LUMi@andrew.cmu.edu> paul+@andrew.cmu.edu (Paul J.
Dujmich) writes:
>I am aware of the fact that the HP-48 can plot expressions and equations, as
>well as statistical data. How do you plot a series of points, for instance,
>data collected in a laboratory experiment? I can't seem to find any reference
>to this type of plotting in the manuals.
>
>
>Paul
Surprisingly HP didn't make a way to do this in the 28 or the 48.
I wrote a program that plots arrays of the form;
[[123.45]
[543.21]
[234.56]]
The array length can be up to the number of pixels horizontally
on the lcd, 130. Presumably this program could be extended to
take advantage of the 48's scrolling capabilities and overcome
the 130 data points restriction.
About the program: It looks in the current directory for SDAT where
S is the sigma symbol (I will use this as a convention), it sets up
the plotting parameters (PPAR) to scale the lcd for the maximum and
minimum of the data and the number of data points, then plots the data.
So, before you run this program your data must be in SDAT and you should
be in the directory that has SDAT, then EVAL this program. If you don't
like the 7 second wait before it clears the lcd you can remove the 7 WAIT
command at the tail of the program and use 7 FREEZE (but then you'll have
to hit a key to clear the lcd).